package org.jason.model.interaction.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("文章互动")
public class ArticleInteractionDto {

    //互动类型:0-阅读量 1-点赞 2-收藏 3-评论
    @ApiModelProperty("互动类型")
    @NotNull
    private Integer type;

    //文章id
    @ApiModelProperty("文章id")
    @NotNull
    private Integer articleId;
}
